﻿using NotifyCenter.Basic;

namespace NotifyCenter.NotificationRecords;
public class NotificationRecord 
{
    public long Id { get; set; }
    public long ProjectId { get; set; }
    public long NotificationRuleId { get; set; }
    public DateTime BeginAt { get; set; }
    public DateTime? SentAt { get; set; } = null;
    public int RetryTime { get; set; } = 0;
    public MessageSendingStatus Status = MessageSendingStatus.Pending;
    public string ConfigurationJson { get; set; } = "";
    public string ErrorMsg { get; set; } = "";
}
